import React from "react";
import lazyLoad from "../utils/lazyLoad";
import { LayoutIndex } from "../constant";

const User = [
  {
    element: <LayoutIndex />,
    children: [
      {
        path: "/sys/user",
        element: lazyLoad(React.lazy(() => import("@/views/user/index"))),
        meta: {
          title: "用户管理",
          key: "/sys/user",
        },
      },
    ],
  },
];

export default User;
